package com.qfedu.mbg.mapper;

import com.qfedu.mbg.model.OmsSubject;
import com.qfedu.mbg.model.OmsSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OmsSubjectMapper {
    int countByExample(OmsSubjectExample example);

    int deleteByExample(OmsSubjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OmsSubject record);

    int insertSelective(OmsSubject record);

    List<OmsSubject> selectByExample(OmsSubjectExample example);

    OmsSubject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OmsSubject record, @Param("example") OmsSubjectExample example);

    int updateByExample(@Param("record") OmsSubject record, @Param("example") OmsSubjectExample example);

    int updateByPrimaryKeySelective(OmsSubject record);

    int updateByPrimaryKey(OmsSubject record);
}